package cart.service;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Service;
import org.springframework.web.bind.annotation.GetMapping;
import cart.service.impl.UserServiceFeignClientFallback;
import common.model.result.Result;

@Service
@FeignClient(name = "auth-server",fallback = UserServiceFeignClientFallback.class)
public interface UserServiceFeignClient {
    //获取所有用户
    @GetMapping("/auth/jiang/listForCart")
    public Result getUserListForCart();
}
